-- GENERATED SPELL FOR [Obsidian Eradicator] --


function spell0_15262(pUnit, Event) --@Shock Blast,Self--
pUnit:FullCastSpellOnTarget(26458,pUnit)
pUnit:RegisterEvent('Sorts_15262', 522, 1)
end

function Sorts_15262(pUnit, Event)
local choix_sorts_15262 = math.random(0, 0)
if choix_sorts_15262 == 0 then
pUnit:RegisterEvent('spell0_15262', 1, 1)
end
end

function mob15262_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_15262', math.random(1500, 3000), 1)
end

function mob15262_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob15262_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob15262_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(15262, 1, 'mob15262_Action')
RegisterUnitEvent(15262, 2, 'mob15262_Leave')
RegisterUnitEvent(15262, 3, 'mob15262_Kill')
RegisterUnitEvent(15262, 4, 'mob15262_Die')
